const { Tray } = require("electron");

module.exports = (app, win) => {
  const tray = new Tray("icon.png");
  tray.setToolTip("readit");
  tray.on("click", (e) => {
    if (e.shiftKey) {
      app.quit();
    }
  });
};
